P+ - Diddy Kong - Action - 0x118
Entry Script
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(InAir)
- CreateInterrupt { interrupt_id: None, action: EscapeAir, requirement: (ButtonPress value(3)) }
- PreviousInterruptAddRequirement(InAir)
- PreviousInterruptAddRequirement((InternalConstantInt(CurrentFrame) GreaterThan scalar(8)))
- loop Infinite times:
- if (OnGround)
- SetAirGround(6)
- SetEdgeSlide(Unknown(2))
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialNShoot)
- else
- ChangeSubactionRestartFrame(SpecialNShoot)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- else
- SetAirGround(10)
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- ChangeSubaction(SpecialAirNShoot)
- else
- ChangeSubactionRestartFrame(SpecialAirNShoot)
- BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- LoopRest
Exit Script